﻿<Window x:Class="Microsoft.Forums.ForumsClient.SubscribeToForumsDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ForumsClient="clr-namespace:Microsoft.Forums.ForumsClient"
    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" 
    xmlns:ForumsOfflineStore="clr-namespace:Microsoft.Forums.OfflineStore;assembly=ForumsOfflineStore" 
    x:Uid="SubscribeToForumsTitle"
    WindowStartupLocation="CenterScreen" 
    Title="Subscribe to Forums" MinHeight="600" MinWidth="750" Height="700" Width="750" 
    Content="{DynamicResource SubscribeToForumsView}"
        >
    
    <Window.CommandBindings>
        <CommandBinding Command="{x:Static ForumsClient:Commands.SubscribeToForums}"  CanExecute="SubscribeToForums_CanExecute" Executed="SubscribeToForums_Executed" />
        <CommandBinding Command="{x:Static ForumsClient:Commands.RefreshAvailableForums}"  CanExecute="RefreshAvailableForums_CanExecute" Executed="RefreshAvailableForums_Executed" />
        <CommandBinding Command="Close" Executed="Close_Executed" />
    </Window.CommandBindings>

</Window>
